# 在开头导入函数get_random_secret_key
from django.core.management.utils import get_random_secret_key
from .base import *
SECRET_KEY = 'django-insecure-y62c&nzm$8e0$6-i(m26w_ibcjl9v_1izv^$(4@quo6(bdukh_'
DEBUG = True
ALLOWED_HOSTS=['*']


DATABASES = {
 'default': {
 'ENGINE': 'django.db.backends.sqlite3',
 'NAME': BASE_DIR / 'db.sqlite3'
 }
}
# 在最后添加代码生成随机密钥
SECRET_KEY = get_random_secret_key()